package com.itheima.service.db;

import com.itheima.domain.SmsHomeRecommendProduct;
import com.itheima.vo.PageBeanVo;

public interface SmsHomeRecommendProductService {

    //分页查询
    PageBeanVo findByPage(Integer pageNum, Integer pageSize, String productName, Integer recommendStatus);

    //根据id修改状态
    void update(Long id, Integer recommendStatus);

    //删除人气推荐
    void delete(Long id);

    //修改首页人气排序
    void updateSort(Long id, Integer sort);

    void addProduct(SmsHomeRecommendProduct smsHomeRecommendProduct);
}
